package com.guigu.qingcheng.service_user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.qingcheng.pojo.user.TbAreas;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * <p>
 * 行政区域县区信息表 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-08
 */
public interface TbAreasService extends IService<TbAreas> {

    //按条件查询分页
    Page<TbAreas> findPage(@RequestBody Map<String,Object> searchMap, @RequestParam("page") Integer page, @RequestParam("size") Integer size);

}
